function submitPage(obj, type) {
	var ids = "";
	$("[name='dataid']").each(function() {
		ids += $(this).attr("dataid") + ",";
	});
	API.icdDiseaseSectionRepositorySubmitPage({
		"ids" : ids
	}, function(res) {
		UTIL.releaseButton(obj);
		if (res.code == '0') {
			window.location.reload();
			UTIL.releaseButton(obj);
			return true;
		} else {
			alert(res.desc);
		}
	});
}

function changeOptimumSection(obj,id){
	if($(obj).val()){
		API.icdDiseaseSectionRepositoryChangeOptimumSection({
			"id" : id ,"optimumSection": $(obj).val()
		}, function(res) {
			UTIL.releaseButton(obj);
			if (res.code == '0') {
				UTIL.releaseButton(obj);
				return true;
			} else {
				alert(res.desc);
			}
		});
		
	}
}